import {axios as http} from '../base/request.js'
export default {
  homeData(params){
    return http.get(`/api`,{params:params})
  },
  getDataList(params){
    return http.get(`/api/lst`,{params:params})
  },
  getDetail(params){
    return http.get(`/api/detail`,{params:params})
  },

  showMemberType(params){
    return http.get(`/api/showMemberType`,{params:params})
  },
  buyMember(params){
    return http.post(`/api/wap/buyMember`,params)
  },
  buyArticle(params){
    return http.post(`/api/wap/buyArticle`,params)
  },
  queryOrder(params){
    return http.get(`/api/queryOrder`,{params:params})
  },

  wxConfig(params){
    return http.get(`/api/wap/wxConfig`,{params:params})
  },

  exportFile(params){
    return http.get(`/api/exportFile`,{params:params,responseType:'blob'})
  },

  getUser(params){
    return http.get(`/guard/user/lst`,{params:params})
  }



}
